<?php 
$this->E_D("DROP TABLE IF EXISTS `db_ad_cat`;");
$this->E_C("CREATE TABLE `db_ad_cat` (
  `catid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `sort` int(11) NOT NULL,
  PRIMARY KEY (`catid`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8");
$this->E_D("replace into `db_ad_cat` values('7','首页banner广告','1');");

 ?>